package cn.fql.order.service;

import cn.fql.basic.util.PageList;
import cn.fql.order.domain.OrderProduct;
import cn.fql.basic.service.IBaseService;
import cn.fql.order.query.OrderProductQuery;
import cn.fql.pet.dto.OrderDto;
import cn.fql.product.domain.Product;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-11-19
 */
public interface IOrderProductService extends IBaseService<OrderProduct> {

    PageList<OrderProduct> queryList(OrderProductQuery query, HttpServletRequest request);

    void add(Product product);


    void confirm(OrderDto orderDto);
}
